Skip to content

feat(workflows): add remove_node and _is_link helper - #65

Merged
wei-hai merged 1 commit into
Comfy-Org:mainfrom
jab416171:main
Aug 27, 2026
Merged

feat(workflows): add remove_node and _is_link helper#65
wei-hai merged 1 commit into
Comfy-Org:mainfrom
jab416171:main

Conversation

@jab416171

Copy link
Copy Markdown
Contributor

Add _is_link() helper to detect ComfyUI API-format connection links ([node_id, output_index]). Add remove_node() method to Workflow that deletes a node and redirects downstream links back to their sources when the removed node has exactly one link input.

@jab416171
jab416171 requested review from a team as code owners August 21, 2026 23:40
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 425201ef-c68c-4960-bcd1-650fe65afd22


Comment @coderabbitai help to get the list of available commands.

@jab416171
jab416171 force-pushed the main branch 4 times, most recently from cf6e800 to 9aba14c Compare August 22, 2026 00:29
@wei-hai wei-hai added the cursor-review Request an automated Cursor review label Aug 24, 2026
Add _is_link() helper to detect ComfyUI API-format connection links
([node_id, output_index]). Add remove_node() method to Workflow that
deletes a node and redirects downstream links back to their sources
when the removed node has exactly one link input.
@wei-hai
wei-hai merged commit ed55451 into Comfy-Org:main Aug 27, 2026
11 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cursor-review Request an automated Cursor review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants